/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.app.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.modules.app.entity.user.UserEntity;
import io.renren.modules.app.form.LoginForm;

import java.util.Map;

/**
 * @author lym
 * @email 928185446qq.com
 */
public interface UserService extends IService<UserEntity> {

	UserEntity queryByMobile(String mobile);
	long login(LoginForm form);
	/**
	 * 用户登录
	 */
	Map<String, Object> login(Map<String, Object> map);

	UserEntity getByUserId(Integer userId);

	UserEntity getUserInfoById(Integer userId);
}
